home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 2 / CU Amiga Magazine's Super CD-ROM 02 (1996)(EMAP Images)(GB)[!][issue 1996-04].iso / magazine / amiga_e / amigae.july.archive / 000026_crash!UNCA.EDU!JVANRIPER_Mon, 12 Jul 93 21:49:54 PST.msg < prev    next >
Text File  |  1993-08-31  |  3KB  |  56 lines

  1. Received: by bkhouse.cts.com (V1.16/Amiga)
  2.     id AA00000; Mon, 12 Jul 93 21:49:54 PST
  3. Received: from uncavx by crash.cts.com with smtp
  4.     (Smail3.1.28.1 #15) id m0oFb2d-0000mmC; Mon, 12 Jul 93 20:28 PDT
  5. Received: from UNCA.EDU by UNCA.EDU (PMDF V4.2-11 #3902) id
  6.  <01H0H0HVLITC935A2V@UNCA.EDU>; Mon, 12 Jul 1993 23:27:34 EDT
  7. Date: Mon, 12 Jul 1993 23:27:34 -0400 (EDT)
  8. Message-id: <01H0H0HVMBR6935A2V@UNCA.EDU>
  9. Organization: University of North Carolina at Asheville
  10. X-VMS-To: IN%"amigae@bkhouse.cts.com"
  11. MIME-version: 1.0
  12. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  13. Content-transfer-encoding: 7BIT
  14. From: "Joseph E. Van_Riper III" <JVANRIPER@UNCA.EDU>
  15. To: amigae@bkhouse.cts.com
  16. Subject: New To List (first post)
  17.  
  18.  
  19.     Welp.. here I am.  Finally found a forum for the discussion of AmigaE,
  20. a language I'm pretty impressed with, overall.
  21.  
  22.     I've been working on a fortune cookie program, perhaps the most
  23. complex, flexible version of this kind of program ever written, and found one
  24. very annoying problem that I'd like to solve, but I haven't figured out a
  25. solution for yet (perhaps because I missed something in the docs or something).
  26.  
  27.     Most C language compilors open a filestream called 'stderr' that lets
  28. you output text to a stream that won't get redirected into a file.  I would
  29. find this very useful for some of the work I'm doing, but I haven't figured out
  30. precisely what I'm supposed to do to do this.  As a work-around, I've instead
  31. given the user the option of having the text go to a specified file, or to
  32. stdout.
  33.  
  34.     Can anyone suggest a way I could open a stderr port to the same
  35. "window" stdout is hooked to, without having to go through too much convoluted
  36. programming nonsense?
  37.  
  38.     Also, I've got something of a complaint that perhaps you guys have
  39. already found a work around for that is better than mine... I would like to
  40. have a string that is CONST (that is, say:
  41.  
  42. CONST VERSION = '$VER: Myprog 234098.002 (12.7.93/23:17:34/E 2.1b) An ' +
  43.                 'Example Program'
  44.  
  45. which could be used anywhere in my program).
  46.  
  47. Currently, this doesn't appear to work.  Perhaps I'm doing something wrongly..
  48. or perhaps there is no adequate work-around for this (short of DEFining a
  49. global variable and setting it in PROC main() or something).
  50.  
  51. One thing very positive about Amiga E, however, is the way it practically
  52. forces you to write code using the Amiga's many functions.  Talk about
  53. following proper procedures... Very Very Nice.  My programs have never been
  54. more Amiga-like than they are now!
  55.  
  56. - Trey